Page({
  data: {
    SearchPanel: [
      {
        title: "行业", name: "InfoTrade", load: false, path: " "
      },
      {
        title: "地区", name: "InfoCity", load: false, path: " "
      },
      {
        title: "筛选", name: "InfoCity", load: false, path: " "
      }
    ],
    SearchParams: [
      [
        { Id: 0, Name: "2019-04" },
        { Id: 1, Name: "2019-03" },
        { Id: 2, Name: "2019-02" },
      ],
      [
        { Id: 0, Name: "全公司" },
        { Id: 1, Name: "上海分公司" },
        { Id: 2, Name: "北京分公司" },
      ]
    ]
  },

  handelSearchPanel: function (e) {
    console.log(e.detail)
  },

  showModal: function (e) {
    var showName = e.currentTarget.dataset.modal;
    this.setData({
      modalName: showName
    })
  },
  closeModal: function (e) {
    this.setData({
      modalName: null
    })
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})